//
//  WBStatusToolBar.swift
//  SinaWebo
//
//  Created by 亚杏 on 2017/5/24.
//  Copyright © 2017年 oms. All rights reserved.
//

import UIKit

class WBStatusToolBar: UIView {

    var viewModel: WBStatusViewModel? {
        didSet{
            retweetBtn.setTitle(viewModel?.retweetedStr, for: .normal)
            commentBtn.setTitle(viewModel?.commentStr, for: .normal)
            likeBtn.setTitle(viewModel?.likeStr, for: .normal)
        }
    }
    
    //转发
    @IBOutlet weak var retweetBtn: UIButton!
    //评论
    @IBOutlet weak var commentBtn: UIButton!
    //点赞
    @IBOutlet weak var likeBtn: UIButton!



}
